
package com.idealighter.game.shop.message;

import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;

import com.idealighter.game.core.annotation.ResMsg;
import com.idealighter.game.message.core.ResMessage;

import lombok.Data;

/**
 * 购买物品结果.
 *
 */
@ResMsg(103201)
@Data
public class ResBuyItemMsg implements ResMessage {
  @Protobuf(order = 1)
  private int id = 103201;
  // 0:成功,1:钱不够
  @Protobuf(order = 2)
  private int res;
  // 购买的道具信息
  @Protobuf(order = 3)
  private com.idealighter.game.backpack.dto.ItemInfo item;
}
